<template>
  <div class="logo">
    <div class="logp"></div>
    <div class="logi">
      <el-form
        :label-position="labelPosition"
        label-width="100px"
        :model="formLabelAlign"
        style="max-width: 460px"
      >
        <el-form-item label="Name">
          <el-input v-model="formLabelAlign.name" />
        </el-form-item>
        <el-form-item label="Activity zone">
          <el-input v-model="formLabelAlign.region" />
        </el-form-item>
        <el-form-item label="Activity form">
          <el-input v-model="formLabelAlign.type" />
        </el-form-item>
        <el-button type="primary" @click="submitForm(ruleFormRef)"
          >Submit</el-button
        >
      </el-form>
    </div>
  </div>
</template>
<script lang="ts" setup>
import { reactive, ref } from 'vue'
const labelPosition = ref('right')
const formLabelAlign = reactive({ name: '', region: '', type: '' })
</script>
<script>
export default {
  name: 'loGo'
}
</script>
<style scoped lang="scss">
.logo {
  width: 100vw;
  height: 100vh;
  display: flex;
  .logp {
    width: 50vw;
    // height: 50vh;
    background: url(https://img.zcool.cn/community/013xnfmppskncwoqep0nyt3537.png?x-oss-process=image/auto-orient,1/resize,m_lfit,w_1280,limit_1/sharpen,100/format,webp/quality,q_100)
      no-repeat;
    background-size: 100% 100%;
  }
  .logi {
    width: 50vw;
    // height: 50vh;
    background: url(https://img.zcool.cn/community/01zskc83ogf1r9tfyxelrr3436.png?x-oss-process=image/auto-orient,1/resize,m_lfit,w_1280,limit_1/sharpen,100/format,webp/quality,q_100)
      no-repeat;
    background-size: 100% 100%;
  }
}
</style>
